package cn.icanci.loopstack.ddk.admin.biz.event.resource;

import cn.icanci.loopstack.ddk.admin.biz.event.DdkEvent;

import org.springframework.stereotype.Component;

/**
 * @author icanci
 * @since 1.0 Created in 2023/01/09 22:40
 */
@Component
public class ResourceEvent extends DdkEvent {
    /**
     * 需要发布的资源
     */
    private String resource;
    /**
     * 发布的资源值
     */
    private String value;

    public ResourceEvent() {
    }

    public ResourceEvent(String resource, String value) {
        this.resource = resource;
        this.value = value;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
